package com.ittx.dzt.tiktok.consumer;

import com.ittx.dzt.tiktok.constant.TiktokApiConstant;
import lombok.extern.slf4j.Slf4j;
import org.apache.rocketmq.client.consumer.DefaultMQPushConsumer;
import org.apache.rocketmq.spring.annotation.RocketMQMessageListener;
import org.apache.rocketmq.spring.core.RocketMQPushConsumerLifecycleListener;
import org.springframework.stereotype.Component;

/**
 * @Author: gywang
 * @Date: 2024-07-22
 */
@Slf4j
@Component
@RocketMQMessageListener(consumerGroup = TiktokApiConstant.Rocket.TIKTOK_DOWNLOAD_RETURN_LIST_BY_TIME_BATCH_SPLIT_GROUP,
        topic = TiktokApiConstant.Rocket.TIKTOK_DOWNLOAD_RETURN_LIST_BY_TIME_BATCH_SPLIT_TOPIC)
public class TiktokReturnOrderByTImeBatchSplitConsumer extends AbstractBatchSplitConsumer implements RocketMQPushConsumerLifecycleListener {

    @Override
    public String getLogsStr() {
        return "退款单下载";
    }


    @Override
    public void prepareStart(DefaultMQPushConsumer consumer) {

    }
}
